#! /bin/sh
VENDORS=/yapi/vendors
cd ${VENDORS}
if [ ! -e "init.lock" ]
then
  sleep 2;
  npm run install-server
  touch init.lock
fi
cd ${VENDORS}
node server/app.js
